/*
 * SurfaceWrapper.cpp
 *
 *  Created on: 24/12/2012
 *      Author: Dalton
 */

#include "SurfaceWrapper.h"


SurfaceWrapper::SurfaceWrapper(int x, int y){
	this->posX = x;
	this->posY = y;
	this->surface = NULL;
}
SurfaceWrapper::SurfaceWrapper(int x, int y, SDL_Surface* surface){
	this->posX = x;
	this->posY = y;
	this->surface = surface;
}

int SurfaceWrapper::getPosX(){
	return this->posX;
}

int SurfaceWrapper::getPosY(){
	return this->posY;
}

void SurfaceWrapper::setSurface(SDL_Surface* surface){
	this->surface = surface;
}

SDL_Surface* SurfaceWrapper::getSurface(){
	return this->surface;
}

void SurfaceWrapper::setPosX(int x){
	this->posX = x;
}

void SurfaceWrapper::setPosY(int y){
	this->posY = y;
}


